/**
 * 
 */
package org.gov.vis.data.gui;

import java.awt.Frame;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;
import java.util.ResourceBundle;

import javax.swing.ComboBoxModel;
import javax.swing.DefaultComboBoxModel;
import javax.swing.JButton;
import javax.swing.JComboBox;
import javax.swing.JLabel;
import javax.swing.JPanel;

import org.gov.vis.components.VISComboBoxModel;
import org.gov.vis.components.VISTextField;
import org.gov.vis.data.gui.listener.AIListener;
import org.gov.vis.gui.VisBaseDialog;
import org.gov.vis.gui.util.GuiUtil;
import org.gov.vis.util.DBConstants;
import org.gov.vis.util.Util;

import com.toedter.calendar.JDateChooser;


/**
 * This code was edited or generated using CloudGarden's Jigloo
 * SWT/Swing GUI Builder, which is free for non-commercial
 * use. If Jigloo is being used commercially (ie, by a corporation,
 * company or business for any purpose whatever) then you
 * should purchase a license for each developer using Jigloo.
 * Please visit www.cloudgarden.com for details.
 * Use of Jigloo implies acceptance of these licensing terms.
 * A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
 * THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
 * LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
 */
/**
 * @author Vishwanath
 *
 */
public class AIDialog extends VisBaseDialog {


	/**
	 * 
	 */
	private static final long serialVersionUID = -8900549854295299039L;
	private JPanel pnlAIMainPanel;
	private JButton btnSave;
	private VISTextField txtFldBreed;
	private JLabel lblBreed;
	private VISTextField txtFldTOI;
	private JLabel lblTOI;
	private VISTextField txtFldDOI;
	private JLabel lblMinutes;
	private JLabel lblHours;
	private JPanel pnlHrMin;
	private JComboBox combxMeridian;
	private JComboBox combxMinutes;
	private JComboBox combxHours;
	private JPanel pnlTime;
	private JPanel pnlMessages;
	private VISTextField txtFldBrthGvn;
	private JLabel lblBirthsGiven;
	private VISTextField txtFldKndOfAnml;
	private JLabel lblKindOfAnimal;
	private VISTextField txtFldAnimalTyp;
	private JLabel lblAnimalType;
	private VISTextField txtFldMand;
	private JLabel lblMandal;
	private JLabel lblBullNo;
	private VISTextField txtFldVill;
	private JLabel lblVillage;
	private VISTextField txtFldCattleOWR;
	private VISTextField txtFldRecpNo;
	private JLabel lblCattleOwner;
	private JLabel lblReceiptNo;
	private VISTextField txtFldAIFee;
	private JLabel lblAIFee;
	private VISTextField txtFldNoAI;
	private JLabel lblNameOfAI;
	private VISTextField txtFldBullNo;
	private VISTextField txtFldCode;
	private JLabel lblDOI;
	private JButton btnReset;
	private JPanel btnPanel;
	private JLabel lblCode;
	private JDateChooser dtChoDateOfInsemination;
	private JComboBox animalType;
	//private JComboBox combxHours;
	//	private JComboBox combxMinutes;
	//private JComboBox combxMeridian;
	private VISComboBoxModel visComBoxModel;
	private VISComboBoxModel visComBoxModel2;
	private VISTextField txtFldAnimal;
	private JPanel jAnimalPanel;

	final private ResourceBundle rb = Util.getResources();

	public AIDialog(Frame owner, String title, boolean modal) {
		super(owner, title, modal);
		// TODO Auto-generated constructor stub
		initGUI();
		GuiUtil.CompCenterCords cords=GuiUtil.getCompCenterCords(500, 700);
		setBounds(cords.getX(), cords.getY(), 500, 700);		
	}

	/**
	 * 
	 */

	private void initGUI() {
		// TODO Auto-generated method stub
		GridBagLayout thisLayout = new GridBagLayout();
		thisLayout.rowWeights = new double[] {0.1};
		thisLayout.rowHeights = new int[] {7};
		thisLayout.columnWeights = new double[] {0.1};
		thisLayout.columnWidths = new int[] {7};
		getContentPane().setLayout(thisLayout);
		{
			pnlAIMainPanel = new JPanel();
			GridBagLayout pnlAIMainPanelLayout = new GridBagLayout();
			pnlAIMainPanelLayout.columnWidths = new int[] {7, 7, 7, 7, 7};
			pnlAIMainPanelLayout.rowHeights = new int[] {7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 20, 7, 20, 7, 20, 7, 20, 7, 20, 7, 20, 7, 20, 7, 20, 7, 20, 7, 20, 7, 7, 7};
			pnlAIMainPanelLayout.columnWeights = new double[] {0.0, 0.0, 0.0, 0.1, 0.0};
			pnlAIMainPanelLayout.rowWeights = new double[] {0.0, 0.0, 0.1, 0.0, 0.1, 0.0, 0.1, 0.0, 0.1, 0.0, 0.1, 0.0, 0.1, 0.0, 0.1, 0.0, 0.1, 0.0, 0.1, 0.0, 0.1, 0.0, 0.1, 0.0, 0.1, 0.0, 0.1, 0.0, 0.1, 0.0, 0.1, 0.0};
			getContentPane().add(pnlAIMainPanel, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
			pnlAIMainPanel.setLayout(pnlAIMainPanelLayout);
			{
				lblCode = new JLabel();
				pnlAIMainPanel.add(lblCode, new GridBagConstraints(1, 2, 1, 1, 0.0, 0.0, GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
				lblCode.setText(setFieldLabel(getResources().getString("dialog_label_ai_code"), true));
			}
			{
				btnPanel = new JPanel();
				pnlAIMainPanel.add(btnPanel, new GridBagConstraints(3, 30, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
				{
					btnSave = new JButton();
					btnPanel.add(btnSave);
					btnSave.setText(getResources().getString("dialog_button_save"));
					btnSave.addActionListener(new AIListener(this));
				}
				{
					btnReset = new JButton();
					btnPanel.add(btnReset);
					btnReset.setText(getResources().getString("dialog_button_reset"));
					btnReset.addActionListener(new AIListener(this));
				}
			}
			{
				lblDOI = new JLabel();
				pnlAIMainPanel.add(lblDOI, new GridBagConstraints(1, 4, 1, 1, 0.0, 0.0, GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
				lblDOI.setText(setFieldLabel(getResources().getString("dialog_label_ai_dtofinsumnaton"), true));
			}
			{
				txtFldCode = new VISTextField();
				pnlAIMainPanel.add(txtFldCode, new GridBagConstraints(3, 2, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
			}
			{
				//txtFldDOI = new VISTextField();
				//pnlAIMainPanel.add(txtFldDOI, new GridBagConstraints(3, 4, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.VERTICAL, new Insets(0, 0, 0, 0), 0, 0));

				dtChoDateOfInsemination = new JDateChooser(null,DBConstants.DISPLAY_DATE_FORMAT);
				dtChoDateOfInsemination.setPreferredSize(txtFldCode.getPreferredSize());
				pnlAIMainPanel.add(dtChoDateOfInsemination, new GridBagConstraints(3, 4, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));

			}
			{
				lblTOI = new JLabel();
				pnlAIMainPanel.add(lblTOI, new GridBagConstraints(1, 6, 1, 1, 0.0, 0.0, GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
				lblTOI.setText(setFieldLabel(getResources().getString("dialog_label_ai_tmeofinsimnation"), false));
			}
			{
				//txtFldTOI = new VISTextField();
				//pnlAIMainPanel.add(txtFldTOI, new GridBagConstraints(3, 6, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.VERTICAL, new Insets(0, 0, 0, 0), 0, 0));

				/*	visComBoxModel = new VISComboBoxModel();
				visComBoxModel.setData(Util.getHours());
				combxHours = new JComboBox();
				combxHours.setPreferredSize(new Dimension(65,26));
				pnlAIMainPanel.add(combxHours,new GridBagConstraints(3, 6, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.VERTICAL, new Insets(0, 0, 0, 0), 0, 0));
				combxHours.setModel(visComBoxModel);
				visComBoxModel2 = new VISComboBoxModel();
				visComBoxModel2.setData(Util.getMinutes());
				combxMinutes = new JComboBox();
				combxMinutes.setPreferredSize(new Dimension(65,26));
				pnlAIMainPanel.add(combxMinutes, new GridBagConstraints(3, 6, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.VERTICAL, new Insets(0, 0, 0, 0), 0, 0));
				combxMinutes.setModel(visComBoxModel2);

				combxMeridian = new JComboBox();
				combxMeridian.addItem("AM");
				combxMeridian.addItem("PM");

				combxMeridian.setPreferredSize(new Dimension(65,26));
				pnlAIMainPanel.add(combxMeridian,new GridBagConstraints(3, 6, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.VERTICAL, new Insets(0, 0, 0, 0), 0, 0));

				 */	}
			{
				lblBreed = new JLabel();
				pnlAIMainPanel.add(lblBreed, new GridBagConstraints(1, 8, 1, 1, 0.0, 0.0, GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
				lblBreed.setText(setFieldLabel(getResources().getString("dialog_label_ai_breed"), true));
			}
			{
				txtFldBreed = new VISTextField();
				pnlAIMainPanel.add(txtFldBreed, new GridBagConstraints(3, 8, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
			}
			{
				lblBullNo = new JLabel();
				pnlAIMainPanel.add(lblBullNo, new GridBagConstraints(1, 10, 1, 1, 0.0, 0.0, GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
				lblBullNo.setText(setFieldLabel(getResources().getString("dialog_label_bullno"), true));
			}
			{
				txtFldBullNo = new VISTextField();
				pnlAIMainPanel.add(txtFldBullNo, new GridBagConstraints(3, 10, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
			}
			{
				lblNameOfAI = new JLabel();
				pnlAIMainPanel.add(lblNameOfAI, new GridBagConstraints(1, 12, 1, 1, 0.0, 0.0, GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
				lblNameOfAI.setText(setFieldLabel(getResources().getString("dialog_label_ai_noai"), false));
			}
			{
				txtFldNoAI = new VISTextField();
				pnlAIMainPanel.add(txtFldNoAI, new GridBagConstraints(3, 12, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
			}
			{
				lblAIFee = new JLabel();
				pnlAIMainPanel.add(lblAIFee, new GridBagConstraints(1, 14, 1, 1, 0.0, 0.0, GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
				lblAIFee.setText(setFieldLabel(getResources().getString("dialog_label_ai_aifee"), false));
			}
			{
				txtFldAIFee = new VISTextField();
				pnlAIMainPanel.add(txtFldAIFee, new GridBagConstraints(3, 14, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
			}
			{
				lblReceiptNo = new JLabel();
				pnlAIMainPanel.add(lblReceiptNo, new GridBagConstraints(1, 16, 1, 1, 0.0, 0.0, GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
				lblReceiptNo.setText(setFieldLabel(getResources().getString("dialog_label_ai_recieptno"), false));
			}
			{
				lblCattleOwner = new JLabel();
				pnlAIMainPanel.add(lblCattleOwner, new GridBagConstraints(1, 18, 1, 1, 0.0, 0.0, GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
				lblCattleOwner.setText(setFieldLabel(getResources().getString("dialog_label_ai_cattleowr"), false));
			}
			{
				txtFldRecpNo = new VISTextField();
				pnlAIMainPanel.add(txtFldRecpNo, new GridBagConstraints(3, 16, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
			}
			{
				txtFldCattleOWR = new VISTextField();
				pnlAIMainPanel.add(txtFldCattleOWR, new GridBagConstraints(3, 18, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
			}
			{
				lblVillage = new JLabel();
				pnlAIMainPanel.add(lblVillage, new GridBagConstraints(1, 20, 1, 1, 0.0, 0.0, GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
				lblVillage.setText(setFieldLabel(getResources().getString("dialog_label_ai_vllage"), false));
			}
			{
				txtFldVill = new VISTextField();
				pnlAIMainPanel.add(txtFldVill, new GridBagConstraints(3, 20, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
			}
			{
				lblMandal = new JLabel();
				pnlAIMainPanel.add(lblMandal, new GridBagConstraints(1, 22, 1, 1, 0.0, 0.0, GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
				lblMandal.setText(setFieldLabel(getResources().getString("dialog_label_ai_mandal"), false));
			}
			{
				txtFldMand = new VISTextField();
				pnlAIMainPanel.add(txtFldMand, new GridBagConstraints(3, 22, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
			}
			{
				
				animalType = new JComboBox();
				animalType.addItem(DBConstants.AI_ANIMAL_TYPE_BUFFALOW);
				animalType.addItem(DBConstants.AI_ANIMAL_TYPE_COW);
				
				animalType.setPreferredSize(txtFldMand.getPreferredSize());
				pnlAIMainPanel.add(animalType, new GridBagConstraints(3, 24, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
				
			}
			{
				lblAnimalType = new JLabel();
				pnlAIMainPanel.add(lblAnimalType, new GridBagConstraints(1, 24, 1, 1, 0.0, 0.0, GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
				lblAnimalType.setText(setFieldLabel(getResources().getString("dialog_label_ai_animal_type"), false));
			}
						{
				lblKindOfAnimal = new JLabel();
				pnlAIMainPanel.add(lblKindOfAnimal, new GridBagConstraints(1, 26, 1, 1, 0.0, 0.0, GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
				lblKindOfAnimal.setText(setFieldLabel(getResources().getString("dialog_label_ai_kndofanml"), true));
			}
			{
				txtFldKndOfAnml = new VISTextField();
				pnlAIMainPanel.add(txtFldKndOfAnml, new GridBagConstraints(3, 26, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
			}
			{
				lblBirthsGiven = new JLabel();
				pnlAIMainPanel.add(lblBirthsGiven, new GridBagConstraints(1, 28, 1, 1, 0.0, 0.0, GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
				lblBirthsGiven.setText(setFieldLabel(getResources().getString("dialog_label_ai_brthgvn"), false));
			}
			{
				txtFldBrthGvn = new VISTextField();
				pnlAIMainPanel.add(txtFldBrthGvn, new GridBagConstraints(3, 28, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
				{
					pnlMessages = new JPanel();
					GridBagLayout jPanel1Layout = new GridBagLayout();
					pnlAIMainPanel.add(pnlMessages, new GridBagConstraints(1, 1, 3, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
					{
						pnlTime = new JPanel();
						pnlAIMainPanel.add(pnlTime, new GridBagConstraints(3, 6, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.VERTICAL, new Insets(0, 0, 0, 0), 0, 0));

						{
							visComBoxModel = new VISComboBoxModel();
							visComBoxModel.setData(Util.getHours());
							visComBoxModel.setSelectedKey(1);
							combxHours = new JComboBox();
							pnlTime.add(combxHours);
							combxHours.setModel(visComBoxModel);
							combxHours.setPreferredSize(new java.awt.Dimension(45, 23));
						}
						{
							visComBoxModel2 = new VISComboBoxModel();
							visComBoxModel2.setData(Util.getMinutes());
							visComBoxModel2.setSelectedKey(0);
							combxMinutes = new JComboBox();
							pnlTime.add(combxMinutes);
							combxMinutes.setModel(visComBoxModel2);
							combxMinutes.setPreferredSize(new java.awt.Dimension(47, 23));
						}
						{
							ComboBoxModel comboxMeridianModel = 
								new DefaultComboBoxModel(
										new String[] { "AM", "PM" });
							combxMeridian = new JComboBox();
							pnlTime.add(combxMeridian);
							combxMeridian.setModel(comboxMeridianModel);
							combxMeridian.setPreferredSize(new java.awt.Dimension(49, 23));
						}
					}
					{
						pnlHrMin = new JPanel();
						pnlAIMainPanel.add(pnlHrMin, new GridBagConstraints(3, 5, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
						{
							lblHours = new JLabel();
							pnlHrMin.add(lblHours);
							lblHours.setText(rb.getString("dialog_hour"));
							lblHours.setPreferredSize(new java.awt.Dimension(54, 9));
						}
						{
							lblMinutes = new JLabel();
							pnlHrMin.add(lblMinutes);
							lblMinutes.setText(rb.getString("dialog_minutes"));
						}
					}
					jPanel1Layout.rowWeights = new double[] {0.1};
					jPanel1Layout.rowHeights = new int[] {7};
					jPanel1Layout.columnWeights = new double[] {0.1};
					jPanel1Layout.columnWidths = new int[] {7};
					pnlMessages.setLayout(jPanel1Layout);

				}
			}
		}
		this.setSize(500, 700);

	}

	public JPanel getjPanel1() {
		return pnlMessages;
	}

	/**
	 * @return the pnlAIMainPanel
	 */
	public JPanel getPnlAIMainPanel() {
		return pnlAIMainPanel;
	}

	/**
	 * @param pnlAIMainPanel the pnlAIMainPanel to set
	 */
	public void setPnlAIMainPanel(JPanel pnlAIMainPanel) {
		this.pnlAIMainPanel = pnlAIMainPanel;
	}

	/**
	 * @return the btnSave
	 */
	public JButton getBtnSave() {
		return btnSave;
	}

	/**
	 * @param btnSave the btnSave to set
	 */
	public void setBtnSave(JButton btnSave) {
		this.btnSave = btnSave;
	}

	/**
	 * @return the txtFldBreed
	 */
	public VISTextField getTxtFldBreed() {
		return txtFldBreed;
	}

	/**
	 * @param txtFldBreed the txtFldBreed to set
	 */
	public void setTxtFldBreed(VISTextField txtFldBreed) {
		this.txtFldBreed = txtFldBreed;
	}

	/**
	 * @return the lblBreed
	 */
	public JLabel getLblBreed() {
		return lblBreed;
	}

	/**
	 * @param lblBreed the lblBreed to set
	 */
	public void setLblBreed(JLabel lblBreed) {
		this.lblBreed = lblBreed;
	}

	/**
	 * @return the txtFldTOI
	 */
	public VISTextField getTxtFldTOI() {
		return txtFldTOI;
	}

	/**
	 * @param txtFldTOI the txtFldTOI to set
	 */
	public void setTxtFldTOI(VISTextField txtFldTOI) {
		this.txtFldTOI = txtFldTOI;
	}

	/**
	 * @return the lblTOI
	 */
	public JLabel getLblTOI() {
		return lblTOI;
	}

	/**
	 * @param lblTOI the lblTOI to set
	 */
	public void setLblTOI(JLabel lblTOI) {
		this.lblTOI = lblTOI;
	}

	/**
	 * @return the txtFldDOI
	 */
	public VISTextField getTxtFldDOI() {
		return txtFldDOI;
	}

	/**
	 * @param txtFldDOI the txtFldDOI to set
	 */
	public void setTxtFldDOI(VISTextField txtFldDOI) {
		this.txtFldDOI = txtFldDOI;
	}

	/**
	 * @return the txtFldBrthGvn
	 */
	public VISTextField getTxtFldBrthGvn() {
		return txtFldBrthGvn;
	}

	/**
	 * @param txtFldBrthGvn the txtFldBrthGvn to set
	 */
	public void setTxtFldBrthGvn(VISTextField txtFldBrthGvn) {
		this.txtFldBrthGvn = txtFldBrthGvn;
	}

	/**
	 * @return the lblBirthsGiven
	 */
	public JLabel getLblBirthsGiven() {
		return lblBirthsGiven;
	}

	/**
	 * @param lblBirthsGiven the lblBirthsGiven to set
	 */
	public void setLblBirthsGiven(JLabel lblBirthsGiven) {
		this.lblBirthsGiven = lblBirthsGiven;
	}

	/**
	 * @return the txtFldKndOfAnml
	 */
	public VISTextField getTxtFldKndOfAnml() {
		return txtFldKndOfAnml;
	}

	/**
	 * @param txtFldKndOfAnml the txtFldKndOfAnml to set
	 */
	public void setTxtFldKndOfAnml(VISTextField txtFldKndOfAnml) {
		this.txtFldKndOfAnml = txtFldKndOfAnml;
	}

	/**
	 * @return the lblKindOfAnimal
	 */
	public JLabel getLblKindOfAnimal() {
		return lblKindOfAnimal;
	}

	/**
	 * @param lblKindOfAnimal the lblKindOfAnimal to set
	 */
	public void setLblKindOfAnimal(JLabel lblKindOfAnimal) {
		this.lblKindOfAnimal = lblKindOfAnimal;
	}

	/**
	 * @return the txtFldAnimalTyp
	 */
	public VISTextField getTxtFldAnimalTyp() {
		return txtFldAnimalTyp;
	}

	/**
	 * @param txtFldAnimalTyp the txtFldAnimalTyp to set
	 */
	public void setTxtFldAnimalTyp(VISTextField txtFldAnimalTyp) {
		this.txtFldAnimalTyp = txtFldAnimalTyp;
	}

	/**
	 * @return the lblAnimalType
	 */
	public JLabel getLblAnimalType() {
		return lblAnimalType;
	}

	/**
	 * @param lblAnimalType the lblAnimalType to set
	 */
	public void setLblAnimalType(JLabel lblAnimalType) {
		this.lblAnimalType = lblAnimalType;
	}

	/**
	 * @return the txtFldMand
	 */
	public VISTextField getTxtFldMand() {
		return txtFldMand;
	}

	/**
	 * @param txtFldMand the txtFldMand to set
	 */
	public void setTxtFldMand(VISTextField txtFldMand) {
		this.txtFldMand = txtFldMand;
	}

	/**
	 * @return the lblMandal
	 */
	public JLabel getLblMandal() {
		return lblMandal;
	}

	/**
	 * @param lblMandal the lblMandal to set
	 */
	public void setLblMandal(JLabel lblMandal) {
		this.lblMandal = lblMandal;
	}

	/**
	 * @return the lblBullNo
	 */
	public JLabel getLblBullNo() {
		return lblBullNo;
	}

	/**
	 * @param lblBullNo the lblBullNo to set
	 */
	public void setLblBullNo(JLabel lblBullNo) {
		this.lblBullNo = lblBullNo;
	}

	/**
	 * @return the txtFldVill
	 */
	public VISTextField getTxtFldVill() {
		return txtFldVill;
	}

	/**
	 * @param txtFldVill the txtFldVill to set
	 */
	public void setTxtFldVill(VISTextField txtFldVill) {
		this.txtFldVill = txtFldVill;
	}

	/**
	 * @return the lblVillage
	 */
	public JLabel getLblVillage() {
		return lblVillage;
	}

	/**
	 * @param lblVillage the lblVillage to set
	 */
	public void setLblVillage(JLabel lblVillage) {
		this.lblVillage = lblVillage;
	}

	/**
	 * @return the txtFldCattleOWR
	 */
	public VISTextField getTxtFldCattleOWR() {
		return txtFldCattleOWR;
	}

	/**
	 * @param txtFldCattleOWR the txtFldCattleOWR to set
	 */
	public void setTxtFldCattleOWR(VISTextField txtFldCattleOWR) {
		this.txtFldCattleOWR = txtFldCattleOWR;
	}

	/**
	 * @return the txtFldRecpNo
	 */
	public VISTextField getTxtFldRecpNo() {
		return txtFldRecpNo;
	}

	/**
	 * @param txtFldRecpNo the txtFldRecpNo to set
	 */
	public void setTxtFldRecpNo(VISTextField txtFldRecpNo) {
		this.txtFldRecpNo = txtFldRecpNo;
	}

	/**
	 * @return the lblCattleOwner
	 */
	public JLabel getLblCattleOwner() {
		return lblCattleOwner;
	}

	/**
	 * @param lblCattleOwner the lblCattleOwner to set
	 */
	public void setLblCattleOwner(JLabel lblCattleOwner) {
		this.lblCattleOwner = lblCattleOwner;
	}

	/**
	 * @return the lblReceiptNo
	 */
	public JLabel getLblReceiptNo() {
		return lblReceiptNo;
	}

	/**
	 * @param lblReceiptNo the lblReceiptNo to set
	 */
	public void setLblReceiptNo(JLabel lblReceiptNo) {
		this.lblReceiptNo = lblReceiptNo;
	}

	/**
	 * @return the txtFldAIFee
	 */
	public VISTextField getTxtFldAIFee() {
		return txtFldAIFee;
	}

	/**
	 * @param txtFldAIFee the txtFldAIFee to set
	 */
	public void setTxtFldAIFee(VISTextField txtFldAIFee) {
		this.txtFldAIFee = txtFldAIFee;
	}

	/**
	 * @return the lblAIFee
	 */
	public JLabel getLblAIFee() {
		return lblAIFee;
	}

	/**
	 * @param lblAIFee the lblAIFee to set
	 */
	public void setLblAIFee(JLabel lblAIFee) {
		this.lblAIFee = lblAIFee;
	}

	/**
	 * @return the txtFldNoAI
	 */
	public VISTextField getTxtFldNoAI() {
		return txtFldNoAI;
	}

	/**
	 * @param txtFldNoAI the txtFldNoAI to set
	 */
	public void setTxtFldNoAI(VISTextField txtFldNoAI) {
		this.txtFldNoAI = txtFldNoAI;
	}

	/**
	 * @return the lblNameOfAI
	 */
	public JLabel getLblNameOfAI() {
		return lblNameOfAI;
	}

	/**
	 * @param lblNameOfAI the lblNameOfAI to set
	 */
	public void setLblNameOfAI(JLabel lblNameOfAI) {
		this.lblNameOfAI = lblNameOfAI;
	}

	/**
	 * @return the txtFldBullNo
	 */
	public VISTextField getTxtFldBullNo() {
		return txtFldBullNo;
	}

	/**
	 * @param txtFldBullNo the txtFldBullNo to set
	 */
	public void setTxtFldBullNo(VISTextField txtFldBullNo) {
		this.txtFldBullNo = txtFldBullNo;
	}

	/**
	 * @return the txtFldCode
	 */
	public VISTextField getTxtFldCode() {
		return txtFldCode;
	}

	/**
	 * @param txtFldCode the txtFldCode to set
	 */
	public void setTxtFldCode(VISTextField txtFldCode) {
		this.txtFldCode = txtFldCode;
	}

	/**
	 * @return the lblDOI
	 */
	public JLabel getLblDOI() {
		return lblDOI;
	}

	/**
	 * @param lblDOI the lblDOI to set
	 */
	public void setLblDOI(JLabel lblDOI) {
		this.lblDOI = lblDOI;
	}

	/**
	 * @return the btnReset
	 */
	public JButton getBtnReset() {
		return btnReset;
	}

	/**
	 * @param btnReset the btnReset to set
	 */
	public void setBtnReset(JButton btnReset) {
		this.btnReset = btnReset;
	}

	/**
	 * @return the btnPanel
	 */
	public JPanel getBtnPanel() {
		return btnPanel;
	}

	/**
	 * @param btnPanel the btnPanel to set
	 */
	public void setBtnPanel(JPanel btnPanel) {
		this.btnPanel = btnPanel;
	}

	/**
	 * @return the lblCode
	 */
	public JLabel getLblCode() {
		return lblCode;
	}

	/**
	 * @param lblCode the lblCode to set
	 */
	public void setLblCode(JLabel lblCode) {
		this.lblCode = lblCode;
	}

	/**
	 * @return the pnlMessages
	 */
	public JPanel getPnlMessages() {
		return pnlMessages;
	}

	/**
	 * @param pnlMessages the pnlMessages to set
	 */
	public void setPnlMessages(JPanel pnlMessages) {
		this.pnlMessages = pnlMessages;
	}

	/**
	 * @return the dtChoDateOfInsemination
	 */
	public JDateChooser getDtChoDateOfInsemination() {
		return dtChoDateOfInsemination;
	}

	/**
	 * @param dtChoDateOfInsemination the dtChoDateOfInsemination to set
	 */
	public void setDtChoDateOfInsemination(JDateChooser dtChoDateOfInsemination) {
		this.dtChoDateOfInsemination = dtChoDateOfInsemination;
	}

	/**
	 * @return the animalType
	 */
	public JComboBox getAnimalType() {
		return animalType;
	}

	/**
	 * @param animalType the animalType to set
	 */
	public void setAnimalType(JComboBox animalType) {
		this.animalType = animalType;
	}

	/**
	 * @return the combxMeridian
	 */
	public JComboBox getCombxMeridian() {
		return combxMeridian;
	}

	/**
	 * @param combxMeridian the combxMeridian to set
	 */
	public void setCombxMeridian(JComboBox combxMeridian) {
		this.combxMeridian = combxMeridian;
	}

	/**
	 * @return the combxMinutes
	 */
	public JComboBox getCombxMinutes() {
		return combxMinutes;
	}

	/**
	 * @param combxMinutes the combxMinutes to set
	 */
	public void setCombxMinutes(JComboBox combxMinutes) {
		this.combxMinutes = combxMinutes;
	}

	/**
	 * @return the combxHours
	 */
	public JComboBox getCombxHours() {
		return combxHours;
	}

	/**
	 * @param combxHours the combxHours to set
	 */
	public void setCombxHours(JComboBox combxHours) {
		this.combxHours = combxHours;
	}

	/**
	 * @return the visComBoxModel
	 */
	public VISComboBoxModel getVisComBoxModel() {
		return visComBoxModel;
	}

	/**
	 * @param visComBoxModel the visComBoxModel to set
	 */
	public void setVisComBoxModel(VISComboBoxModel visComBoxModel) {
		this.visComBoxModel = visComBoxModel;
	}

	/**
	 * @return the visComBoxModel2
	 */
	public VISComboBoxModel getVisComBoxModel2() {
		return visComBoxModel2;
	}

	/**
	 * @param visComBoxModel2 the visComBoxModel2 to set
	 */
	public void setVisComBoxModel2(VISComboBoxModel visComBoxModel2) {
		this.visComBoxModel2 = visComBoxModel2;
	}

}
